package com.gitee.huxing.courese.core;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;

/**
 * @Description:
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.courese.core
 * @ClassName: KmqMessage
 * @Author: huxing
 * @DateTime: 2021-11-07 3:59 下午
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class KmqMessage<T> {

    private HashMap<String, Object> headers;

    private T body;
}
